package cn.iocoder.yudao.module.dr.controller.admin.collectionattachment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 藏品附件新增/修改 Request VO")
@Data
public class CollectionAttachmentSaveReqVO {

    @Schema(description = "自增主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "7530")
    private Long id;

    @Schema(description = "附件主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "24372")
    @NotEmpty(message = "附件主键不能为空")
    private String attachmentId;

    @Schema(description = "关联藏品主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "19740")
    @NotNull(message = "关联藏品主键不能为空")
    private Long collectionId;

    @Schema(description = "藏品总登记号", requiredMode = Schema.RequiredMode.REQUIRED, example = "19740")
    @NotNull(message = "藏品总登记号")
    private String generalAccessionNumber;

    @Schema(description = "附件类型 1 图片 2 音频 3 视频 4 模型", example = "2")
    private String attachType;

}